<?php
/**
 * Created by PhpStorm.
 * User: xueleixi
 * Date: 2018/5/4
 * Time: 上午7:46
 *
 */

//echo crc32("a").PHP_EOL;


//连接本地的 Redis 服务
$redis = new Redis();
$redis->connect('127.0.0.1', 6379);
$redis->lPush('languages','php','js','java');
var_dump($redis->lRange('languages',0,-1));